package study.javaee.practice.property;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("swagger")
@Data
public class SwaggerProperties {
    //是否开启swagger
    private Boolean enable;

    ///项目应用名
    private String appName;

    //项目版本信息
    private String appVersion;

    //项目描述信息
    private String appDescription;

    // 联系人
    private String contactName;

    // 联系邮箱
    private String contactEmail;

    // 联系地址
    private String contactUrl;
     //接口调试地址
    private String tryHost;
}
